# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=stig
pkgver=0.12.3a0
pkgrel=0
pkgdesc="TUI and CLI client for the BitTorrent client Transmission"
url="https://github.com/rndusr/stig"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 py3-urwid py3-urwidtrees py3-aiohttp py3-async-timeout py3-xdg py3-blinker py3-natsort py3-setproctitle"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/rndusr/stig/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # py3-asynctest library is not compatible with Python 3.8 and above. See https://github.com/rndusr/stig/issues/206

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
984c6d2255fb4faf2ff5c8a080702011e1f8670a8cec82b613102d17d2d31704a579538165c90e14cac1271e48f6ad0e37a4d70cede6e61dd5b81539f9b38c9a  stig-0.12.3a0.tar.gz
"
